<?php
/**
 *  Template Name: 国都归档模板
 *
 * Created by PhpStorm.
 * User: xiaoshuang.li
 * Date: 2014/12/15
 * Time: 9:33
 */
get_header(); ?>
	<div class="content">
		<table cellspacing="0" cellpadding="0" border="0">
			<tbody>
			<tr>
				<td style="min-width: 250px;">
					<?php get_sidebar()?>
				</td>
				<td  style="width:740px;min-height: 660px;background-color: white"><br>
					<h1 class="title" style="text-align: center;"><?php the_category(); ?></h1><br>
					<?php if ( have_posts() ) : ?>
						<table>
						<?php
						/* Start the Loop */
						while ( have_posts() ) : the_post();
							get_template_part('content', 'archive');
						endwhile;
						?>
						</table>
					<?php else : ?>
						<?php get_template_part( 'content', 'none' ); ?>
					<?php endif; ?>
				</td>
			</tr>
			</tbody>
		</table>
	</div>
<?php get_footer(); ?>